package com.itheima.reggie.dto;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

/**
 * 接收前端传过来菜品数据的工具类包
 */
@Data
public class DishDto extends Dish {

    //封装菜品口味类数据
    private List<DishFlavor> flavors = new ArrayList<>();

    //菜品名称
    private String categoryName;

    private Integer copies;
}
